Visualizing the stack's evolution for: 3 4 + 5 * 6 1 1 + / -
Create a single-node tree and push it onto the stack.
Pop two trees, create a new root with the operator, attach them as children, and push the new tree back.
1. Read '3'
2. Read '4'
3. Read '+'
4. Read '5'
5. Read '*'
6. Read '6'
7. Read '1'
8. Read '1'
9. Read '+'
10. Read '/'
11. Read '-'